import {get,post} from "/src/util/request"

export const findByid = (data)=>get(`/user/findByid/${data}`)
export const findByPage = (data)=>get(`/user/findByPage?pageNum=${data.pageNum}&pageSize=${data.pageSize}&key=${data.key}`)
export const add = (data)=>post(`/user/add`,data)
export const del = (data)=>post(`/user/del?id=${data}`)
export const update = (data)=>post(`/user/update`,data)